added SortByRunTime, added waitTime to record, added sjf