YouTube offers two filtering possibilities: Top Comments and Newest First. The "Newest First" feature is fairly straightforward: YouTube just arranges the comments by the date they were posted.
However, the "Top Comments" categorization appears to be more complicated than simply sorting by "thumbs up". It apparently involves such factors as the number of replies and date posted into consideration.