1. A mobile terminal comprising: a memory storing an operating system having a scheduler, wherein the scheduler is configured to: perform a first scheduling function on a plurality of tasks to determine a first processing order of the plurality of tasks according to a first reference; perform a second scheduling function on the plurality of tasks to determine a second processing order of the plurality of tasks according to a second reference after determining that at least a first task among the plurality of tasks meets the second reference; and switch from the first processing order to the second processing order such that the at least a first task which has met the second reference is processed preferentially among the plurality of tasks; and a processor configured to perform an operation related to the operating system and process the plurality of the tasks according to at least the first or second processing order, wherein each of the plurality of tasks is processed according to the second processing order after the second scheduling function is performed, the at least a first task being processed preferentially among the plurality of tasks ordered according to the second processing order.