exclude disabled versions in app queue sort, remove old sort code (bug 890177)