• As ORDER BY 5 DESC will be depreciated in future versions of TSQL, I would use

    Didn't know this. Good to know.

    ORDER BY CODLIQ DESC

    For some reason I was thinking you had to use the non aliased part of the column (which is why I did 5). This makes more sense. Don't do what I said 🙂