In this article, we propose a line-of-sight/non-line-of-sight time-of-arrival source localization algorithm that utilizes the weighted least squares. The proposed estimator combines multiple sorted measurements using the spatial sign concept, Mahalanobis distance, and Stahel-Donoho estimator, that is, assigning less weight to the samples as they are far from the center of inlier distribution. Also, the eigendecomposition Kendall's t covariance matrix is utilized as the scatter measure instead of the conventional median absolute deviation. Thus, the adverse effects by outliers can be attenuated effectively. To validate the superiority of the proposed methods, the root mean square error performances are compared with that of the existing algorithms via extensive simulation.