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, wherein: the plurality of the tasks are classified into a plurality of groups including a first group haying a top priority processing order, a second group haying a second processing order, a third group having a third processing order and a fourth group having a fourth processing order, the first group includes a plurality of tasks using a resource capable of completing a task performance when used at a specific timing only, the second group includes a plurality of tasks using a resource capable of completing a task performance when used at a random timing, the third group includes a plurality of tasks using a resource capable of completing a task performance when used at a preset ratio for a random interval irrespective of timing, and the fourth group includes a plurality of tasks except for the tasks included in the first group, the second group, or the third group.