Updated version of lucinq, sort changes