Error-Correcting Linear Codes: Classification by Isometry and Applications