Added sort to objectList