Add main list sorting.
JSON update.