Added sort to tracks