fixed limit sort and counter for adlist