eased sorting process when called by other programs