Exactly how I did my spreadsheet in the middle of the night.
In the House of Commons report it talks about the number of votes and the calculated percentage. If you simply put that into a spreadsheet and sort the percentages in declining order, and you fill the top ones first—so let's say the calculation is the Liberals got 40% of the vote—