The impact of sequencing and prior knowledge on learning mathematics through spreadsheet applications